package com.ftg.learn.cloud.product.mapper;

import com.ftg.learn.cloud.product.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author TJQ
 * @data 2019/10/30 10:40
 */
@Mapper
public interface DeptMapper {

    /**
     * 查全部
     * @return 查询结果
     */
    @Select("select * from dept")
    public List<Dept> showAll();

}
